Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 7 - Process Management / Process Management Reference
Functions / Allocating and Freeing Memory


OTFreeMem

Frees memory allocated with the OTAllocMem function.

C INTERFACE
void OTFreeMem(void* arg)
C++ INTERFACES
None. C++ applications use the C interface to this function.

PARAMETERS
arg
A pointer to the memory allocated by the OTAllocMem function. This pointer is returned by the OTAllocMem function.
SPECIAL CONSIDERATIONS
Do not make this call without having already called the OTEnterInterrupt function.

SEE ALSO
To allocate memory from the Open Transport pool, use the OTAllocMem function (page 7-21).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996